package com.yida.gwj.report.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author: PPV
 * @Date: 2023-03-08
 */
@ApiModel("年增值收益 请求")
public class GwjReportYearBenifitRequest {

    /**
     * id
     */
    @ApiModelProperty("id")
    private Long benefitId;

    /**
     * 年份
     */
    @NotBlank(message = "年份不能为空")
    @ApiModelProperty("年份")
    private String year;

    /**
     * 当年增值收益
     */
    @NotNull(message = "当年增值收益不能为空")
    @ApiModelProperty("当年增值收益")
    private BigDecimal benefit;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;

    public Long getBenefitId() {
        return benefitId;
    }

    public void setBenefitId(Long benefitId) {
        this.benefitId = benefitId;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public BigDecimal getBenefit() {
        return benefit;
    }

    public void setBenefit(BigDecimal benefit) {
        this.benefit = benefit;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
